<link href="${rc.getContextPath()}/static/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label id="userName">用户姓名：</label> <input type="text" name="userName" value="${condition.userName!''}" /></li>
                <li><label id="account">账号：</label> <input type="text" name="userCard" value="${condition.userCard!''}" /></li>
                <li><label>学校：</label>
                    <input type="text" name="school" id="schoolLookUp.name" value="<#if (condition.school)??>${condition.school!''}</#if>" class="look"
                           suggestFields="code,name" postField="name" suggestUrl="${rc.getContextPath()}/school/suggest" lookupGroup="schoolLookUp" />
                    <a class="btnLook" href="${rc.getContextPath()}/school/lookup" rel="schoolUp_dialog" title="选择学校" lookupGroup="schoolLookUp" ></a>
                    <input type="hidden" id="schoolLookUp.code" />
                </li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">查询</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="icon" target="dialog" mask="true" width="650" height="580" href="#" rel="viewUser" title="详情"><span>详情</span> </a>
            </li>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="167">
        <thead>
        <tr>
            <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl">
            </th>
            <th width="100">用户名</th>
            <th width="100">身份证</th>
            <th width="50">学校</th>
            <th width="100">登录时间</th>
            <th width="100">登出时间</th>
            <th width="60">在线时长(分钟)</th>
            <th width="60">备注</th>
        </tr>
        </thead>
        <tbody>
        <#if page??><#if (page.data?size>0)> <#list page.data as log>
        <tr target="userId" rel="${log.id!''}">
            <td><input name="ids" value="${log.id!''}" type="checkbox">
            </td>
            <td>${log.userName!''}</td>
            <td>${log.userCard!''}</td>
            <td>${log.school!''}</td>
            <td>${log.loginTime?string("yyyy-MM-dd HH:mm:ss")}</td>
            <td><#if log.logoutTime??>${log.logoutTime?string("yyyy-MM-dd HH:mm:ss")}</#if></td>
            <td>${log.times!''}</td>
            <td>${log.remark!''}</td>
        </tr>
        </#list> <#else>
        <tr target="user_id">
            <td colspan="6" class="noData">======列表无数据=====</td>
        </tr>
    </#if> <#else>
    <tr target="user_id">
        <td colspan="6" class="noData">======列表无数据=====</td>
    </tr>
</#if>
</tbody>
</table>
<#include "/common/panelBar.html">
</div>